<?php
if (!defined('ZAZA')) exit('No direct script access allowed');
/**
 * @copyright     ZaZa Group
 * @author        Sir Doan
 */
require_once KERNEL_PATH . DS .'system.php';
// File config
/*System::registerFile(
                        array('register.function'),
                        ROOT_PATH . DS,
                        'config'. DS
                    );*/ 
              
// File kernel First
System::registerFile(array('database.connect', 'input', 'url', 'form', 'template', 'widget'), KERNEL_PATH . DS);   

// Template Global
$tpl = new Template(); 
function &tpl(){global $tpl; return $tpl;} 
// Input Global
$Obj = new Input(); 
function &Obj(){global $Obj; return $Obj;}       

// File kernel Lase
System::registerFile(array('user.current', 'module', 'model'), KERNEL_PATH . DS);      
?>
